package day021.homework.p9;

public class King {
    private String name;

    private King(String name) {
        this.name = name;
    }

    private static King instance = new King("亚历山大二世");

    public static King getInstance() {
        return instance;
    }
}
